package com.tedu.egmybatis2.mapper;

import com.tedu.egmybatis2.pojo.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ProducMapper {

    int insert(Product product);


    Product selectById(int id);


    int deleteById(int id);


    List<Product> productAll();
    int update( Product product);
}
